package kr.co.onc.common;

import java.util.Iterator;

import javax.servlet.http.HttpServletRequest;

import org.apache.log4j.Logger;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.ui.Model;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import org.springframework.web.context.request.ServletWebRequest;


public class BaseLoggerAop  {
	private static final Logger eLogger = Logger.getLogger ("ERROR");
	
	
	public  void invoke(ProceedingJoinPoint  joinPoint  ){
		HttpServletRequest request=null;
		Model model=null;
		
			try {
				joinPoint.proceed();
		
			} catch (Throwable e) {
				/*eLogger.error(request.get);*/
				e.printStackTrace();
			}
		
	}
	
	

}
